package com.teragadgets.android.comic.datamodel;

public class Comic {
	private String name;
	private String data;
	private String altText;
	private int number;

	public Comic(String name, String data, String altText, int number) {
		this.name = name;
		this.data = data;
		this.altText = altText;
		this.number = number;
	}

	@Override
	public String toString() {
		return number + ": " + name;
	}

	public String getData() {
		return "<img src='" + data + "' /><br />" + altText;
	}

	public String getName() {
		return name;
	}

	public int getNumber() {
		return number;
	}
}
